using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Entities;

namespace Sio.Mdm.Types.Database
{
    [Entities.Entity(
			"SolskaLetaService",
            TableName = "SOLSKA_LETA"
        )]
    public interface SolskoLeto : IEntity
    {
        [PrimaryKey(Name = "LETO_ID", GeneratorName="GEN_SOLSKA_LETA")]
        int LetoId { get; set; }

        [Field(Name = "NAZIV")]
        string Naziv { get; set; }

        [Field(Name = "ZACETEK_LETA")]
        DateTime ZacetekLeta { get; set; }

        [Field(Name = "KONEC_LETA")]
        DateTime KonecLeta { get; set; }

        [Field(Name = "ZACETEK_PRVEGA_TRIMESTRA")]
        DateTime ZacetekPrvegaTrimestra { get; set; }

        [Field(Name = "ZACETEK_DRUGEGA_TRIMESTRA")]
        DateTime ZacetekDrugegaTrimestra { get; set; }

        [Field(Name = "ZACETEK_TRETJEGA_TRIMESTRA")]
        DateTime ZacetekTretjegaTrimestra { get; set; }
    }
}
